...so that from a serial log you can tell the difference between not
pressing the key and not having anything interestying to print.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
{
unsigned int cpu;
+ printk("'%c' pressed -> printing ACPI Cx structures\n", key);
for_each_online_cpu ( cpu )
if (processor_powers[cpu])
print_acpi_power(cpu, processor_powers[cpu]);
static int __init cpu_idle_key_init(void)
{
register_keyhandler(
- 'c', dump_cx, "dump cx structures");
+ 'c', dump_cx, "dump ACPI Cx structures");
return 0;
}
__initcall(cpu_idle_key_init);